
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    text-align: initial; /* 恢复默认值 */
}
/* 整体页面样式 */
.home-page {
//background-color: #f4f4f4;
    font-family: Arial, sans-serif;
}

/* 顶部栏样式 */
.top-bar {
    position: relative; /* 设置父盒子为相对定位 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#weizhi {
    position: absolute; /* 绝对定位 */
    top: 50%; /* 垂直居中 */
    right: 15px; /* 距离父盒子右侧 15px */
    transform: translateY(-50%); /* 垂直居中微调 */
    width: 30px;
    height: 30px;
}
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header-title {
    font-size: 20px;
    font-weight: bold;
}

.header-extra {
    display: flex;
    align-items: center;
}

.icon-location,
.icon-magnify {
    width: 16px;
    height: 16px;
    margin-left: 10px;
}

.banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    background-color: #f0f8ff;
}

.banner-text {
    text-align: center;
    margin-bottom: 20px;
}

.banner-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.banner-image {
    width: 80px;
    height: 120px;
    object-fit: contain;
}


.custom-hr {
    height: 10px;
    width: 100%;
    border: none;
    background-color: #f7f9fb;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    margin-left: -20px;
    width: 80px;
    height: 30px;
    margin-right: -10px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: 20px;
    transition: all 0.3s ease;
}
/* 输入框样式 */
.search-box input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 6px;
    background-color: transparent;
}
/* 输入框占位符样式 */
.search-box input[type="text"]::placeholder {
    color: #999;
}
/* 搜索图标样式 */
.search-box .el-icon-search {
    font-size: 20px;
    color: #666;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}
/* 鼠标悬停在搜索框上的样式 */
.search-box:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}
/* 鼠标悬停在图标上的样式 */
.search-box .el-icon-search:hover {
    color: #007bff;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform; /* 提高性能 */
}
.carousel-illustration {
    position: absolute; /* 绝对定位 */
    top: 0px; /* 距离顶部的距离，可以根据需要调整 */
    left: 20px; /* 距离左侧的距离，可以根据需要调整 */
    margin-left: 256px;
}

.carousel-item {
    width: 100%; /* 假设轮播图宽度占满容器 */
    flex-shrink: 0; /* 防止轮播项在空间不足时缩小 */
    position: relative;
    height: auto;
    display: flex;
    transition: transform 0.5s ease-in-out; /* 设置过渡效果 */
    will-change: transform; /* 提高性能 */
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-item-content {
    position: absolute;
    top: 40%;
    left: 35%;
    transform: translate(-50%, -50%);
//text-align: center;
    color: white;
}

.carousel-item-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-item-content p {
    font-size: 12px;
//margin-bottom: 20px;
}

.carousel-item-content button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.carousel-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicators span.active {
    background-color: #007bff;
}

/* 功能按钮区样式 */
.function-buttons {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    background-color: white;
    margin-top: 15px;
}

.function-button {
    padding: 20px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border-radius: 10px;
    width: 120px;
    height: 80px;
}

.function-button img {
    width: 40px;
    height: 40px;
}

.function-button p {
    margin-top: 5px;
    font-size: 14px;
}

/* 功能列表区样式 */
.function-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 15px 0;
}

.function-list-item {
    display: block;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.function-list-item img {
    width: 25px;
    height: 25px;
    margin-left: 20px;
}

.function-list-item span {
    font-size: 14px;
}

/* 附近机构样式 */
.nearby-institutions {
    padding: 10px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.more1{
    float: right;
    margin-left: 200px;
    margin-top: 20px;
    font-size: 14px;
}

.institution-list {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.institution-item {
    min-width: 200px;
    margin-right: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: start;
    width: 200px; /* 固定机构项宽度 */
}

.icon {
//width: 40px; /* 适当调整图片宽度 */
    height: 43px; /* 适当调整图片高度 */
    object-fit: cover;
    margin-right: 10px;
    margin-top: 30px;
}

.content {
    display: flex;
    flex-direction: column;
    width: calc(100% - 50px); /* 计算文字区域宽度，确保不撑大盒子 */
}

.name {
    font-weight: bold;
    margin-bottom: 5px;
}

.distance {
    color: #888;
}

/* 隐藏滚动条 */
.institution-list::-webkit-scrollbar {
    display: none;
}

.institution-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/*
附近团队
*/
.nearby-institutions1 {
    min-height: 250px;
    height: auto;
    padding: 10px;
}
.team-list {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* 启用水平滚动捕捉 */
}
/* 隐藏滚动条 */
.team-list::-webkit-scrollbar {
    display: none;
}

.team-item {
    width: 200px;
    margin-right: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    scroll-snap-align: start; /* 每个团队项在滚动时对齐到起始位置 */
    flex-shrink: 0; /* 防止团队项缩小 */
    display: flex; /* 添加 flex 布局 */
    align-items: start; /* 让内容从顶部开始对齐 */
    width: 200px;
}

.team-image {
    width: 80px; /* 调整图片宽度 */
    height: 90px; /* 调整图片高度 */
    object-fit: cover;
    margin-right: 10px; /* 在图片右侧添加间距 */
    margin-bottom: 0; /* 去除底部 margin */
    /*margin-top: 30px;*/
    border-radius: 10px;
    background-color: #d6e5fe;
}
.team-card img{
    width: 100px; /* 调整图片宽度 */
    height: 90px; /* 调整图片高度 */
    object-fit: cover;
    margin-right: 10px; /* 在图片右侧添加间距 */
    margin-bottom: 0; /* 去除底部 margin */
    /*margin-top: 30px;*/
    border-radius: 10px;
    background-color: #d6e5fe;
}

.team-info {
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    margin-top: 0; /* 调整标题顶部间距 */
}

.team-info p {
    margin: 5px 0;
    font-size: 10px;
}

/* 底部导航栏样式 */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.nav-item img {
    width: 25px;
    height: 25px;
}

.nav-item p {
    margin-top: 5px;
    font-size: 12px;
}
.my-contracted-team {
    padding: 20px;
}
.team-card {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.team-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
}
h3 {
    margin-bottom: 10px;
}
p {
    color: #666;
    margin-bottom: 20px;
}
.apply-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

/*
服务提醒--------------------------------------------------
*/
.service-reminder {
    padding: 20px;
    margin-bottom: 40px;
}
h2 {
    margin-bottom: 15px;
}
.reminder-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex; /* 使用 flex 布局 */
    align-items: center; /* 让内部元素垂直居中对齐 */
}
.icon-wrapper {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    display: flex; /* 让图标在容器内垂直居中 */
    align-items: center;
    justify-content: center;
}
.icon-wrapper img{
    width: 70px;
    height: 70px;
    margin-top: 0px;
    margin-left: 20px;
}
.content-wrapper {
    flex: 1; /* 占据剩余空间 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 30px;
}
.title {
    font-weight: bold;
    margin-bottom: 5px;
}
.description {
    color: #666;
    font-size: 14px;
}
.right-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 靠右对齐 */
}
.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: red;
    margin-right: 5px;
    margin-top: -80px;
}
.arrow-icon {
    width: 10px;
    height: 10px;
    object-fit: contain;
    margin-top: -80px;
}
.no-more {
          text-align: center;
          color: #999;
          margin-top: 15px;
          font-size: 14px;
      }